Skip to content

Conversation

@mergify
Copy link

@mergify mergify bot commented Mar 27, 2025

Ra improvements:

  • Don't allow a non-voter to start elections
  • Register with ra directory before initialising ra server.
  • Trigger tick_timeout immediately after entering leader state.
  • Set a configurable segment max size

This commit also includes a change to turn the quorum queue
become leader callback to become a noop and instead rely on
the more promptly tick_handler to handle the meta data store
update after a leader election.

This more prompt tick update means there should be a much shorter
gap between the queue metrics being deleted from the old leader
node to them being available again on the new node resulting
in smoother message count metrics.

Fix test that relied on waiting on too simplistic a property
before asserting.


This is an automatic backport of pull request #13638 done by Mergify.

Ra improvements:

* Don't allow a non-voter to start elections
* Register with ra directory before initialising ra server.
* Trigger tick_timeout immediately after entering leader state.
* Set a configurable segment max size

This commit also includes a change to turn the quorum queue
become leader callback to become a noop and instead rely on
the more promptly tick_handler to handle the meta data store
update after a leader election.

This more prompt tick update means there should be a much shorter
gap between the queue metrics being deleted from the old leader
node to them being available again on the new node resulting
in smoother message count metrics.

Fix test that relied on waiting on too simplistic a property
before asserting.

(cherry picked from commit 4fe96df)
@mergify mergify bot added the make label Mar 27, 2025
@michaelklishin michaelklishin merged commit 0b8fb95 into v4.1.x Mar 27, 2025
273 checks passed
@michaelklishin michaelklishin deleted the mergify/bp/v4.1.x/pr-13638 branch March 27, 2025 22:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants